﻿@model S4Store.Models.Report.IndexModel
@{
    Layout = null;
    ViewBag.Title = "Index";
    S4Store.Domain.Administrator CurrentUser = (S4Store.Domain.Administrator)ViewBag.CurrentUser;
}
<style type="text/css">
.report1
{
    width:240px;
    height:58px;
    display:inline-block;
    text-align:center;
    vertical-align:middle;
    background:url('/resources/project/part1.gif') no-repeat;
    color:White;
    line-height:55px;
    font-size:20px;
    font-weight:bold;
}
.report4
{
    width:240px;
    height:58px;
    display:inline-block;
    text-align:center;
    vertical-align:middle;
    background:url('/resources/project/part4.gif') no-repeat;
    color:White;
    line-height:55px;
    font-size:20px;
    font-weight:bold;
}
.report2
{
    width:240px;
    height:58px;
    display:inline-block;
    text-align:center;
    vertical-align:middle;
    background:url('/resources/project/part2.gif') no-repeat;
    color:White;
    line-height:55px;
    font-size:20px;
    font-weight:bold;
}
.report3
{
    width:240px;
    height:58px;
    display:inline-block;
    text-align:center;
    vertical-align:middle;
    background:url('/resources/project/part3.gif') no-repeat;
    color:White;
    line-height:55px;
    font-size:20px;
    font-weight:bold;
}
.reportcontainer
{
    width:204px;
    background:url('/resources/project/tiao.gif');
    
    height:10px;
    display:inline-block;
    float:left;
}

.reportsuccess,.reportfail
{
    height:10px; 
    float:left;
}
.reportcontainer .reportsuccess .value
{
    float:left;
    height:10px; 
    display:inline-block;
    background:url('/resources/project/green2.gif');
}
.reportcontainer .reportsuccess .l
{
    float:left;
    height:10px; 
    width:2px;    
    display:inline-block;
    background:url('/resources/project/green1.gif');
    
}
.reportcontainer .reportsuccess .r
{
    float:left;
    height:10px; 
    width:2px;    
    display:inline-block;
    background:url('/resources/project/green3.gif');
    
}

.reportcontainer .reportfail .value
{
    float:left;
    height:10px; 
    display:inline-block;
    background:url('/resources/project/red2.gif');
}
.reportcontainer .reportfail .l
{
    float:left;
    height:10px; 
    width:2px;    
    display:inline-block;
    background:url('/resources/project/red1.gif');
    
}
.reportcontainer .reportfail .r
{
    float:left;
    height:10px; 
    width:2px;    
    display:inline-block;
    background:url('/resources/project/red3.gif');
    
}
.reportitemname
{
    display:inline-block;
    height:24px;
    vertical-align:middle;
    margin-left:5px;
    font-size:12px;
    float:left;
    line-height:24px;
    font-weight:bold;
}
.currvalue
{
    display:inline-block;
    float:left;
    width:53px;
    height:23px;
    padding-bottom:2px;
    line-height:23px;
    background:url('/resources/project/value.gif');
}
.mymask{ width:250px; height:500px; overflow:hidden; background:#fff; position:absolute; z-index:10; filter:alpha(opacity=80);
	-moz-opacity:0.8;
	-khtml-opacity:0.8;
	opacity:0.8;}
</style>
<div style="width:100%; height:100%; overflow:auto">
@Html.Action("ReportBar", "Common", Model.BarModel)
<div style="text-align:left">
<img src="../../Resources/project/98_03.gif" style=" margin:10px" />
</div>
<div style="width:100%; text-align:center; position:relative">
@if ( !(CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
      						CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
      						CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
     						CurrentUser.Position == S4Store.Domain.Position.SalesManager ||
	  						CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
	  						CurrentUser.Position == S4Store.Domain.Position.DealerTutors))
{
    <div class="mymask" style=" top:0; left:10px;"></div>
}
@if (!(CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.MarketingManager ||
						   CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors))
{
<div class="mymask" style=" top:0; left:260px; width:260px;"></div>
}
@if (!(CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.AftersalesManager ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors))
{
<div class="mymask" style=" top:0; left:520px; width:270px;"></div>
}
@if (!(CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors))
{
<div class="mymask" style=" top:0; left:790px; width:260px;"></div>
}
<table style="width:100%; text-align:center">
    <tr>
    @if (2>1||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SalesManager ||
						   CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
    {
        <td width="250" align="center"><a class="report1" href="@Url.Action("SaleHealthy", "Report")" target="navtab" title="销售业绩管理健康度"></a></td>
    }
    @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.MarketingManager ||
						   CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
    {
        <td width="250" align="center"><a class="report2" href="@Url.Action("Index", "Markting")" target="navtab" title="营销管理健康度"></a></td>
    }
     @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.AftersalesManager ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
     {
        <td width="250" align="center"><div class="report3"><a class="report3" href="@Url.Action("Index", "AfterSaleHealthyReport")" target="navtab" title="售后管理健康度"></a></div></td>
     }
     @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager  ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
     {
        <td width="250" align="center"><a class="report4" href="@Url.Action("Index", "FinancialReport")" target="navtab" title="财务管理健康度"></a></td>
     }
    </tr>
    <tr height="65">
    @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SalesManager ||
						   CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
    {
        <td width="250" align="center">          
         @{
        S4Store.Models.Report.G1Item item = new S4Store.Models.Report.G1Item
        {
            Name = "本月交车",
            Ratio = Model.SaleReport.SaleRate > 100 ? 100 : Model.SaleReport.SaleRate,
            IsStandard = Model.SaleReport.SaleRateDiff >= 0,
            Text = Model.SaleReport.GiveCarCount.ToString() + "辆",
            Target = Model.SaleReport.SaleTarget + "辆"
        }; 
            
        } 
                @Html.Partial("Report1Item", item)           
        </td>
    }
     @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.MarketingManager ||
						   CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
     {
        <td width="250">
        @{
         S4Store.Models.Report.G1Item item = new S4Store.Models.Report.G1Item
         {
             Name = "首次来店数",
             Ratio = Model.SellerReport.DJKHWCJD > 100 ? 100 : Model.SellerReport.DJKHWCJD,
             IsStandard = Model.SellerReport.DJKHJDC >= 0,
             Text = Model.SellerReport.LDJDPC.ToString() + "组",
             Target = Model.SellerReport.SCLDJDMB + "组"
         }; 
            
        }
                @Html.Partial("Report1Item", item)
        </td>
     }
     @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.AftersalesManager ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
     {
        <td width="250">
             @Html.Partial("Report1Item", Model.RCTC)
        </td>
     }
      @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
      {
        <td width="250">
        @{
          S4Store.Models.Report.G1Item item = new S4Store.Models.Report.G1Item
          {
              Name = "销售营业额",
              Ratio = 100,
              IsStandard = true,
              Text = Model.FinancialReport.XSE.toInt() + "万元"
          }; 
            
        }
         @Html.Partial("Report1Item", item)
        </td>
      }
    </tr>
    <tr height="65">
    @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SalesManager ||
						   CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
    {
        <td width="250">
            @{
        S4Store.Models.Report.G1Item item = new S4Store.Models.Report.G1Item
        {
            Name = "本月订单",
            Ratio = Model.SaleReport.OrderRate > 100 ? 100 : Model.SaleReport.OrderRate,
            IsStandard = Model.SaleReport.OrderRateDiff >= 0,
            Text = Model.SaleReport.OrderCount.ToString() + "辆",
            Target = Model.SaleReport.OrderTarget + "辆"
        }; 
            
        }
                @Html.Partial("Report1Item", item)
           
        </td>
    }
     @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.MarketingManager ||
						   CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
     {
        <td width="250">
        @{
         S4Store.Models.Report.G1Item item = new S4Store.Models.Report.G1Item
         {
             Name = "首次来电数",
             Ratio = Model.TelSellerReport.LDHPCWCD > 100 ? 100 : Model.TelSellerReport.LDHPCWCD,
             IsStandard = Model.TelSellerReport.LDHPCJDC >= 0,
             Text = Model.TelSellerReport.LDJDPC.ToString() + "组",
             Target = Model.TelSellerReport.SCLDHJDMB + "组"
         }; 
            
        }
                @Html.Partial("Report1Item", item)
        </td>
     }
     @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.AftersalesManager ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
     {
        <td width="250">
            @Html.Partial("Report1Item", Model.DQCZ)
        </td>
     }
      @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
      {
        <td width="250">
        @{
          decimal zz = 0;
          if (Model.FinancialReport.FinancialMonthConfig.MBZZTS > 0)
          {
              zz = Model.FinancialReport.KCZJZZT * 100 / Model.FinancialReport.FinancialMonthConfig.MBZZTS;
          }
          S4Store.Models.Report.G1Item item = new S4Store.Models.Report.G1Item
          {
              Name = "资金周转天数",
              Ratio = zz > 100 ? 100 : zz,
              IsStandard = Model.FinancialReport.KCZJZZT <= Model.FinancialReport.FinancialMonthConfig.MBZZTS,
              Text = Model.FinancialReport.KCZJZZT.toInt() + "天",
              Target = Model.FinancialReport.FinancialMonthConfig.MBZZTS + "天"
          }; 
            
        }
                @Html.Partial("Report1Item", item)
        </td>
      }
    </tr>
    <tr height="65">
    @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SalesManager ||
						   CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
    {
        <td width="250">
             @{
        var r = 0m;
        if (Model.SaleReport.InventoryTarget > 0)
        {
            r = Model.SaleReport.Inventory * 100 / Model.SaleReport.InventoryTarget;
        }
        if (r > 100) { r = 100; }
        S4Store.Models.Report.G1Item item = new S4Store.Models.Report.G1Item
        {
            Name = "当前库存",
            Ratio = r,
            IsStandard = Model.SaleReport.Inventory <= Model.SaleReport.InventoryTarget,
            Text = Model.SaleReport.Inventory.ToString() + "辆",
            Target = Model.SaleReport.InventoryTarget.AutoRound() + "辆"
        }; 
            
        }
                @Html.Partial("Report1Item", item)
            
        </td>
    }
     @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.MarketingManager ||
						   CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
     {
        <td width="250">
        @{
         S4Store.Models.Report.G1Item item = new S4Store.Models.Report.G1Item
         {
             Name = "展厅集客进度",
             Ratio = Model.SellerReport.LDPCWCD > 100 ? 100 : Model.SellerReport.LDPCWCD,
             IsStandard = Model.SellerReport.LDPCJDC >= 0,
             Text = Model.SellerReport.LDPCWCD.toInt() + "%",
             Target = Model.SellerReport.RateOfTime.toInt() + "%"
         }; 
            
        }
                @Html.Partial("Report1Item", item)
        </td>
     }
     @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.AftersalesManager ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
     {
        <td width="250">
            @Html.Partial("Report1Item", Model.DCCZ)
        </td>   
     }
      @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
      {
        <td width="250">
        @{
          S4Store.Models.Report.G1Item item = new S4Store.Models.Report.G1Item
          {
              Name = "售后总产值",
              Ratio = 100,
              IsStandard = true,
              Text = Model.FinancialReport.SHZCZ.toInt() + "万"
          }; 
            
        }
         @Html.Partial("Report1Item", item)
        </td>
      }
    </tr>
    <tr height="65">
    @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SalesManager ||
						   CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
    {
        <td width="250">
            @{
        S4Store.Models.Report.G1Item item = new S4Store.Models.Report.G1Item
        {
            Name = "销售进度",
            Ratio = Model.SaleReport.SaleRate > 100 ? 100 : Model.SaleReport.SaleRate,
            IsStandard = Model.SaleReport.SaleRateDiff >= 0,
            Text = Model.SaleReport.SaleRate.toInt() + "%",
            Target = "100%"
        }; 
            
            }
                @Html.Partial("Report1Item", item)
           
        </td>
    }
     @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.MarketingManager ||
						   CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
     {
        <td width="250">
        @{
         S4Store.Models.Report.G1Item item = new S4Store.Models.Report.G1Item
         {
             Name = "主题活动执行率",
             Ratio = Model.ExhibitionReport.ZTHDJHZXLV,
             IsStandard = Model.ExhibitionReport.ZTHDJHZXLV >= 100,
             Text = Model.ExhibitionReport.ZTHDJHZXLV.toInt() + "%",
             Target = "100%"
         }; 
            
        }
                @Html.Partial("Report1Item", item)
        
        </td>
     }
     @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.AftersalesManager ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
     {
        <td width="250">
            @Html.Partial("Report1Item", Model.BJKC)
        </td>
     }
      @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
      {
        <td width="250">
         @{
          S4Store.Models.Report.G1Item item = new S4Store.Models.Report.G1Item
          {
              Name = "服务吸收率",
              Ratio = Model.FinancialReport.FWXSLV > 100 ? 100 : Model.FinancialReport.FWXSLV,
              IsStandard = Model.FinancialReport.FWXSLV >= Model.FinancialReport.FWXSLVTarget,
              Text = Model.FinancialReport.FWXSLV.toInt() + "%",
              Target = Model.FinancialReport.FWXSLVTarget.toInt() + "%"
          }; 
            
        }
                @Html.Partial("Report1Item", item)
        </td>
      }
    </tr>
    <tr height="65">
    @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SalesManager ||
						   CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
    {
        <td width="250">
            @{
        S4Store.Models.Report.G1Item item = new S4Store.Models.Report.G1Item
        {
            Name = "登记客户进度",
            Ratio = Model.SellerReport.DJKHWCJD > 100 ? 100 : Model.SellerReport.DJKHWCJD,
            IsStandard = Model.SellerReport.DJKHJDC >= 0,
            Text = Model.SellerReport.DJKHWCJD.toInt() + "%",
            Target = Model.SaleReport.RateOfTime.toInt() + "%"
        }; 
            
        }
               @Html.Partial("Report1Item", item)
            
        </td>
    }
     @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.MarketingManager ||
						   CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
     {
        <td width="250">
        @{
         S4Store.Models.Report.G1Item item = new S4Store.Models.Report.G1Item
         {
             Name = "店头活动执行率",
             Ratio = Model.ExhibitionReport.DTHDJHZXLV,
             IsStandard = Model.ExhibitionReport.DTHDJHZXLV >= 100,
             Text = Model.ExhibitionReport.DTHDJHZXLV.toInt() + "%",
             Target = "100%"
         }; 
            
        }
                @Html.Partial("Report1Item", item)
        </td>
     }
     @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.AftersalesManager ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
     {
        <td width="250">
            @Html.Partial("Report1Item", Model.KHLSL)
        </td>
     }
      @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
      {
        <td width="250"></td>
      }
    </tr>
    <tr height="65">
    @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SalesManager ||
						   CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
    {
        <td width="250">
            @{
        S4Store.Models.Report.G1Item item = new S4Store.Models.Report.G1Item
        {
            Name = "库存系数动态",
            Ratio = 100,
            IsStandard = Model.SaleReport.InventoryCoefficientDiff >= 0,
            Text = Model.SaleReport.InventoryCoefficientDiff.toInt(),
           // Target = Model.SaleReport.CarKpiMonthConfig.InventoryIndexTarget.toInt()
        }; 
            
            }
                @Html.Partial("Report1Item", item)
            
        </td>
    }
     @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.MarketingManager ||
						   CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
     {
        <td width="250"></td>
     }
     @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.AftersalesManager ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
     {
        <td width="250"></td>
     }
      @if (2 > 1 ||
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
						   CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
      {
        <td width="250"></td>
      }
    </tr>
</table>
</div>
</div>